from django.urls import path
from rest_framework.routers import DefaultRouter

from task import views

router = DefaultRouter()
router.register('cmdhistory', viewset=views.CmdHistoryViewSet, basename='cmdhistory')

urlpatterns = [
    path(r'cmd/', views.CmdAPIView.as_view()),
]
urlpatterns += router.urls
